[NTG-context] Re: Underbar

2024-03-28 Thread Willi Egger
>> this underbar is a fraction to near the text. So I wanted to use >> \setupbar[…] to change the offset. Unfortunately nothing happens whatever I >> try. >> >> MWE: >> >> \setupba

[NTG-context] Re: Underbar

2024-03-28 Thread Wolfgang Schuster
Willi Egger schrieb am 28.03.2024 um 17:23: Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE

[NTG-context] Underbar

2024-03-28 Thread Willi Egger
Hello everybody, I have a text, where a couple of lines are typeset with \underbar. — To me this underbar is a fraction to near the text. So I wanted to use \setupbar[…] to change the offset. Unfortunately nothing happens whatever I try. MWE: \setupbar[offset=-.5,dy=-.5] \starttext Hello

Re: [NTG-context] new upload

2022-04-21 Thread Alexandre Christe via ntg-context
ry much for the upload and the tutorial on 'adaptive'. It seems > very > > impressive and right away, one application which I could think of in my > case > > is its use in denoting prosodic elements in verses (of poems). For this > > purpose I was using \definebar, \setupbar so far t

Re: [NTG-context] new upload

2022-04-20 Thread Hans Hagen via ntg-context
and the tutorial on 'adaptive'. It seems very impressive and right away, one application which I could think of in my case is its use in denoting prosodic elements in verses (of poems). For this purpose I was using \definebar, \setupbar so far to indicate certain types of elements of verses; now I think

Re: [NTG-context] new upload

2022-04-19 Thread śrīrāma via ntg-context
'adaptive'. It seems very impressive and right away, one application which I could think of in my case is its use in denoting prosodic elements in verses (of poems). For this purpose I was using \definebar, \setupbar so far to indicate certain types of elements of verses; now I think this being far more

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
number, but neither achieve what I want. \underbar is too close to the number \setupbar[underbar][offset=-0.8] % play around with the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath the number? \defineframed

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, jbf via ntg-context wrote: > The following MWE deliberately shows two ways of getting a short rule > beneath a chapter number, but neither achieve what I want. \underbar is > too close to the number \setupbar[underbar][offset=-0.8] % play around with t

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 03.06.2020 um 16:30: Am 03.06.2020 um 16:19 schrieb Floris van Manen : What is the preferred way to overstrike a text with a different color? This does not work: One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt

Re: [NTG-context] [overstrike] with different color?

2020-06-05 Thread Henning Hraban Ramm
> Am 04.06.2020 um 20:00 schrieb Floris van Manen : > >> \setupbar[color=red,rulethickness=1.4] % measurement in pt > > the command also takes a parameter offset as well as dy. > I assume the offset will position the line higher / lower . > But I see no effect.

Re: [NTG-context] [overstrike] with different color?

2020-06-04 Thread Floris van Manen
On 03/06/2020 16:30, Henning Hraban Ramm wrote: > \setupbar[color=red,rulethickness=1.4] % measurement in pt the command also takes a parameter offset as well as dy. I assume the offset will position the line higher / lower . But I see no effect. \setupbar[color=red,rulethickness=.3,offset=

Re: [NTG-context] [overstrike] with different color?

2020-06-03 Thread Henning Hraban Ramm
> Am 03.06.2020 um 16:19 schrieb Floris van Manen : > > What is the preferred way to overstrike a text with a different color? > This does not work: > One \overstrike[color=red]{Two} Three \setupbar[color=red,rulethickness=1.4] % measurement in pt See also rules-m

[NTG-context] Changing default rule thickness (globally)

2020-03-25 Thread Benjamin Buchmuller
Hi! I would like to change the rule thickness that is used by default in ConTeXt. However, from the command documentation (http://www.pragma-ade.nl/general/qrcs/setup-en.pdf), I see that I would need to basically change this for \basegrid[rulethickness=...] \setupbar[rulethickness

Re: [NTG-context] Underbar offset

2016-05-25 Thread Wolfgang Schuster
Hans Hagen <mailto:pra...@wxs.nl> 24. Mai 2016 um 14:19 On 5/24/2016 1:54 AM, Mojca Miklavec wrote: Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... b

Re: [NTG-context] Underbar offset

2016-05-24 Thread Hans Hagen
On 5/24/2016 1:54 AM, Mojca Miklavec wrote: Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... but I'm confused about two aspects: - How can I prevent \high

[NTG-context] Underbar offset

2016-05-23 Thread Mojca Miklavec
Hi, I would like to add a continuous underbar under a paragraph or a title as in: \setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext ... but I'm confused about two aspects: - How can I prevent \high{} from shifting the underbar? - How can I add more

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-28 Thread Hans Hagen
On 7/28/2015 5:45 AM, Rik Kabel wrote: Actually, some color can come through, as in the following example. The \setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). It was a side effect of the fix for pablos bookmarks (deep down some argument got messed up

Re: [NTG-context] Section heading colors lost with \startbodymatter

2015-07-27 Thread Rik Kabel
. The \setupmarginrules color remains even in bodymatter mode (the \setupbar color does not). \setupmarginrules[rulethickness=1pt] \setupmarginrules[1][rulecolor=red] \setupbar[overstrike][color=red] \define[1]\RR {\startmarginrule[1]\RRR#1\stopmarginrule} \definehighlight [RRR

[NTG-context] URLs in color including underbar

2015-05-18 Thread Alexander Shukaev
Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style}}, color={\urlparameter{color}}, ]% \from[#1

Re: [NTG-context] URLs in color including underbar

2015-05-18 Thread Hans Hagen
On 5/17/2015 8:07 PM, Alexander Shukaev wrote: Hello, So far I came up with the following solution: \setupurl[ style={\mono\underbar}, color={blue}, ] \def \url{% \dosingleargument \dourl } \def \dourl[#1]{% \begingroup \setupbar[% style={\urlparameter{style

Re: [NTG-context] \definehighlight with style=command problem

2013-05-27 Thread Alan Bowen
] \starttext \setupbar[overstrike][**foregroundcolor=cyan,color=**blue] \startsection[title={{\green green} foo {\green green}}] foo \startbar[overstrike]bar\**stopbar test \Delete{test} test \Keep{test} test \Whatever{test} test \color[red]{test \Delete

Re: [NTG-context] underbar not colored

2012-07-04 Thread luigi scarso
{color this}: \startcolor[red] \setupbar[color=blue] \underbar{but the underbar isn't!} \stopcolor \setupbar[color=] \stoptext You can also define you underbar(s): See node-rul.mkiv . -- luigi ___ If your question

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Wolfgang Schuster
Am 08.03.2011 um 13:01 schrieb Bart Wise: I have used the latest ConTeXt to compile the code below, but the \setupunderbar does not seem to function. If I use an older version (context: 2009.06.14) it works just fine. Is there a bug, or am I doing something wrong? Use \setupbar

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
) it works just fine. Is there a bug, or am I doing something wrong? Use \setupbar[underbar][...]. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] setupunderbar not working

2011-03-08 Thread Bart Wise
) it works just fine. Is there a bug, or am I doing something wrong? Use \setupbar[underbar][...]. Wolfgang My version of context: mtx-context | current version: 2011.02.25 22:03 New code with Wolfgang's suggestion: \setupcolors[state=start] \setupbar[underbar][bottomoffset=2pt